﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<% if (Request.IsAuthenticated) %>
<% { %>
    <div style="height: 24px; background: #e8e8e8;">
        <%= Html.ActionImage("Index", "Admin", new object(), AppHelper.ImgUrl("home_16.png"), "") %>
        User name: <b><%= Html.Encode(Page.User.Identity.Name) %></b> |
         [<%= Html.ActionLink("Log Off", "LogOff", "Admin") %>]
    </div>
<% } %>